﻿<UserControl
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:globalProperties="clr-namespace:ViewOnCore.Properties;assembly=ViewOnCore"
    xmlns:wpf="clr-namespace:ViewOnCore.Helper.WPF"
    x:Class="ViewOnCore.Helper.WPF.MessageDialog"
    Height="110"
    Width="200">
	<wpf:ChildWindowDecorator x:Name="childWindowDecorator">

		<Grid>

			<Grid.RowDefinitions>
				<RowDefinition Height="10" />
				<RowDefinition Height="*" />
				<RowDefinition Height="30" />
				<RowDefinition Height="5" />
			</Grid.RowDefinitions>

			<StackPanel Grid.Row="1">
				<TextBlock x:Name="lblText" Text="" VerticalAlignment="Center" FontWeight="Bold" HorizontalAlignment="Center"/>
				<TextBlock x:Name="lblText2" Text="" VerticalAlignment="Center" FontWeight="Bold" HorizontalAlignment="Center"/>
			</StackPanel>

			<Button x:Name="btnOk" Style="{StaticResource Button.TransparentWithEffect}" Grid.Row="2" Width="80" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Bottom" Click="btnOk_Click">
				<TextBlock x:Name="txtOk" Text="{x:Static globalProperties:Globalization.Ok}" Margin="5,5,5,5"/>
			</Button>

		</Grid>

	</wpf:ChildWindowDecorator>
</UserControl>
